<template>
    <div>

news 组件
<button @click="handler">点击</button>
    </div>
</template>

<script>
export default {
    data() {
        return {

        };
    },
    created() {

    },
    mounted() {

    },
    methods: {
        handler() {
            alert('我被点击了')
        }

    }
};
</script>

<style scoped   lang='css'>

</style>
